package managers;

import com.google.gson.Gson;

import com.google.gson.GsonBuilder;


public class JsonManager {

	public String generateJSON(Object object) {
		String jsonAnswer;
		Gson gson;
		gson =  new GsonBuilder().setPrettyPrinting().create(); 
		jsonAnswer =gson.toJson(object);
		return jsonAnswer;
	}

}